invert string c#

46

invert string c# -

public string ReverseString(string srtVarable)
{
    return new string(srtVarable.Reverse().ToArray());
}

Comments

Submit
0 Comments